<?php /* Smarty version Smarty-3.1.21-dev, created on 2018-03-10 09:57:10
         compiled from "/data/wwwroot/61kq.com/uploads/app/template/wap/company_show.htm" */ ?>
<?php /*%%SmartyHeaderCode:1575986265aa33b765403c1-15611365%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a9b2564be66ab6b9e6946f302890fb096c06ae9d' => 
    array (
      0 => '/data/wwwroot/61kq.com/uploads/app/template/wap/company_show.htm',
      1 => 1519614092,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1575986265aa33b765403c1-15611365',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'row' => 0,
    'config' => 0,
    'comrat' => 0,
    'industry_name' => 0,
    'city_name' => 0,
    'comclass_name' => 0,
    'waflist' => 0,
    'wap_style' => 0,
    'looktype' => 0,
    'look_msg' => 0,
    'job' => 0,
    'job_list' => 0,
    'uid' => 0,
    'usertype' => 0,
    'isatn' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_5aa33b7671ded0_36556987',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5aa33b7671ded0_36556987')) {function content_5aa33b7671ded0_36556987($_smarty_tpl) {?><?php if (!is_callable('smarty_function_url')) include '/data/wwwroot/61kq.com/uploads/app/include/libs/plugins/function.url.php';
?><?php global $db,$db_config,$config;
		$time = time();
		
		
		
        eval('$paramer=array("namelen"=>"8","comlen"=>"12","ispage"=>"0","uid"=>"\'@row.uid\'","order"=>"\'xuanshang\'","islt"=>"4","item"=>"\'job_list\'","name"=>"\'joblist1\'","nocache"=>"")
;');
		$ParamerArr = GetSmarty($paramer,$_GET,$_smarty_tpl);
		$paramer = $ParamerArr[arr];
        $Purl =  $ParamerArr[purl];
        global $ModuleName;
        if(!$Purl["m"]){
            $Purl["m"]=$ModuleName;
        }
		include_once  PLUS_PATH."/comrating.cache.php";
		include(CONFIG_PATH."db.data.php"); 
		if($config[sy_web_site]=="1"){
			if($config[province]>0 && $config[province]!=""){
				$paramer[provinceid] = $config[province];
			}
			if($config[cityid]>0 && $config[cityid]!=""){
				$paramer[cityid] = $config[cityid];
			}
			if($config[three_cityid]>0 && $config[three_cityid]!=""){
				$paramer[three_cityid] = $config[three_cityid];
			}
			if($config[hyclass]>0 && $config[hyclass]!=""){
				$paramer[hy]=$config[hyclass];
			}
		}
		if($paramer[sdate]){
			$where = "`sdate`>".strtotime("-".intval($paramer[sdate])." day",time())." and `edate`>'$time' and `state`=1";
		}else{
			$where = "`state`=1 and `edate`>'$time'";
		}
        
		
		if($paramer[uid]){
			$where .= " AND `uid` = '$paramer[uid]'";
		}
		
		if($paramer[rec]){
			
			$where.=" AND `rec_time`>=".time();
			
		}
		
		if($paramer['cert']){
			$job_uid=array();
			$company=$db->select_all("company","`yyzz_status`=1","`uid`");
			if(is_array($company)){
				foreach($company as $v){
					$job_uid[]=$v['uid'];
				}
			}
			$where.=" and `uid` in (".@implode(",",$job_uid).")";
		}
		
		if($paramer[noid]){
			$where.= " and `id`<>$paramer[noid]";
		}
		
		if($paramer[r_status]){
			$where.= " and `r_status`=2";
		}else{
			$where.= " and `r_status`=1";
		}
		
		if($paramer[status]){
			$where.= " and `status`='1'";
		}else{
			$where.= " and `status`='0'";
		}
		
		if($paramer[pr]){
			$where .= " AND `pr` =$paramer[pr]";
		}
		
		if($paramer['hy']){
			$where .= " AND `hy` = $paramer[hy]";
		} 
		
		if($paramer[mun]){
			$where .= " AND `mun` = $paramer[mun]";
		}
	
		if($paramer[job1]){
			$where .= " AND `job1` = $paramer[job1]";
		}
		
		if($paramer[job1_son]){
			$where .= " AND `job1_son` = $paramer[job1_son]";
		}
		
		if($paramer[job_post]){
			$where .= " AND (`job_post` IN ($paramer[job_post]))";
		}
		
		if($paramer['jobwhere']){
			$where .=" and ".$paramer['jobwhere'];
		}
		
		if($paramer['jobids']){
			$where.= " AND (`job1` = $paramer[jobids] OR `job1_son`=$paramer[jobids] OR `job_post`=$paramer[jobids])";
		}
		
		if($paramer['jobin']){
			$where .= " AND (`job1` IN ($paramer[jobin]) OR `job1_son` IN ($paramer[jobin]) OR `job_post` IN ($paramer[jobin]))";
		}
		
		if($paramer[provinceid]){
			$where .= " AND `provinceid` = $paramer[provinceid]";
		}
	
		if($paramer['cityid']){
			$where .= " AND (`cityid` IN ($paramer[cityid]))";
		}
	
		if($paramer['three_cityid']){
			$where .= " AND (`three_cityid` IN ($paramer[three_cityid]))";
		}
		if($paramer['cityin']){
			$where .= " AND `three_cityid` IN ($paramer[cityin])";
		}
		
		if($paramer[edu]){
			$where .= " AND `edu` = $paramer[edu]";
		}
		
		if($paramer[exp]){
			$where .= " AND `exp` = $paramer[exp]";
		}
		
		if($paramer[report]){
			$where .= " AND `report` = $paramer[report]";
		}
		
		if($paramer[type]){
			$where .= " AND `type` = $paramer[type]";
		}
	
		if($paramer[sex]){
			$where .= " AND `sex` = $paramer[sex]";
		}
		
		
		if($paramer[mun]){
			$where .= " AND `mun` = $paramer[mun]";
		}
		if($paramer[minsalary]&&$paramer[maxsalary]){
			$where.= " AND ((`minsalary`<=".intval($paramer[minsalary])." and `maxsalary`>=".intval($paramer[minsalary]).") 
						or (`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`>=".intval($paramer[maxsalary])."))";
			
    	}elseif($paramer[minsalary]&&!$paramer[maxsalary]){
			$where.= " AND ((`minsalary`<=".intval($paramer[minsalary])." and `maxsalary`>=".intval($paramer[minsalary]).") 
						or (`minsalary`>=".intval($paramer[minsalary])." and `maxsalary`>=".intval($paramer[minsalary]).") 
						or (`minsalary`!=0 and  `maxsalary`=0))";
			
		}elseif(!$paramer[minsalary]&&$paramer[maxsalary]){
			$where.= " AND ((`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`>=".intval($paramer[maxsalary]).") 
						or (`minsalary`<=".intval($paramer[maxsalary])." and `maxsalary`<=".intval($paramer[maxsalary]).") 
						or (`minsalary`<=".intval($paramer[maxsalary])." and maxsalary=0) 
						or (`minsalary`=0 and  `maxsalary`!=0)
						)";
			
		}
       
        $cache_array = $db->cacheget();
		$comclass_name = $cache_array["comclass_name"];
		if($paramer[welfare]){
		    $welfarename=$comclass_name[$paramer[welfare]];
			$welfare=$db->select_all("company"," `welfare` LIKE '%".$welfarename."%'","`uid`");
			if(is_array($welfare)){
				foreach($welfare as $v){
					$welfareid[]=$v['uid'];
				}
			}
			$where .=" AND uid in (".@implode(",",$welfareid).")";
		}
		
		if($paramer[cityin]){
			$where .= " AND (`provinceid` IN ($paramer[cityin]) OR `cityid` IN ($paramer[cityin]) OR `three_cityid` IN ($paramer[cityin]))";
		}
		
		if($paramer[urgent]){
			$where.=" AND `urgent_time`>".time();
		}
		
		if($paramer[uptime]){
			if($paramer[uptime]==1){
				$beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
    			$where.=" AND lastupdate>$beginToday";
    		}else{
    			$time=time();
				$uptime = $time-($paramer[uptime]*86400);
				$where.=" AND lastupdate>$uptime";
    		}
		}
		
		if($paramer[comname]){
			$where.=" AND `com_name` LIKE '%".$paramer[comname]."%'";
		}
		
		if($paramer[com_pro]){
			$where.=" AND `com_provinceid` ='".$paramer[com_pro]."'";
		}
	
		if($paramer[keyword]){
			$where1[]="`name` LIKE '%".$paramer[keyword]."%'";
			$where1[]="`com_name` LIKE '%".$paramer[keyword]."%'";
			include  PLUS_PATH."/city.cache.php";
			foreach($city_name as $k=>$v){
				if(strpos($v,$paramer[keyword])!==false){
					$cityid[]=$k;
				}
			}
			if(is_array($cityid)){
				foreach($cityid as $value){
					$class[]= "(provinceid = '".$value."' or cityid = '".$value."')";
				}
				$where1[]=@implode(" or ",$class);
			}
			$where.=" AND (".@implode(" or ",$where1).")";
		}
		
		if($paramer["job"]){
			$where.=" AND `job_post` in ($paramer[job])";
		}
		
		if($paramer[bid]){
			$where.="  and `xsdate`>'".time()."'";
		} 
		
		
		if($paramer[where]){
			$where = $paramer[where];
		}

		
		if($paramer[limit]){
			$limit = " limit ".$paramer[limit];
		}

		if($paramer[ispage]){
			$limit = PageNav($paramer,$_GET,"company_job",$where,$Purl,"",$paramer[islt]?$paramer[islt]:"6",$_smarty_tpl);
          
		} 
		
		if($paramer[order] && $paramer[order]!="lastdate"){
			$order = " ORDER BY ".str_replace("'","",$paramer[order])."  ";
		}else{
			$order = " ORDER BY `lastupdate` ";
		}
		
		if($paramer[sort]){
			$sort = $paramer[sort];
		}else{
			$sort = " DESC";
		} 
		$where.=$order.$sort;  
		 
		$job_list = $db->select_all("company_job",$where.$limit);
		if(is_array($job_list)){
		
			$cache_array = $db->cacheget();
			$comuid=$jobid=array();
			foreach($job_list as $key=>$value){
				if(in_array($value['uid'],$comuid)==false){$comuid[] = $value['uid'];}
				if(in_array($value['id'],$jobid)==false){$jobid[] = $value['id'];} 
			}
			$comuids = @implode(',',$comuid);
			$jobids = @implode(',',$jobid);
			
			if($comuids){
				$r_uids=$db->select_all("company","`uid` IN (".$comuids.")","`uid`,`yyzz_status`,`logo`,`pr`,`hy`,`mun`,`shortname`,`welfare`");
				if(is_array($r_uids)){
					foreach($r_uids as $key=>$value){
						if($value[shortname]){
    						$value['shortname_n'] = $value[shortname];
    					}
						if(!$value['logo'] || !file_exists(str_replace('./',APP_PATH,$value['logo']))){
							$value['logo'] = $config['sy_weburl']."/".$config['sy_unit_icon'];
						}else{
							$value['logo']= $config['sy_weburl']."/".$value['logo'];
						}
						$value['pr_n'] = $cache_array['comclass_name'][$value[pr]];
						$value['hy_n'] = $cache_array['industry_name'][$value[hy]];
						$value['mun_n'] = $cache_array['comclass_name'][$value[mun]];
						$r_uid[$value['uid']] = $value;

					}
				}
			}
			    
			
			if($paramer[bid]){
				$noids=array();
			}	
			foreach($job_list as $key=>$value){

				if($paramer[bid]){
					$noids[] = $value[id];
				}
				
				if($paramer[noids]==1 && !empty($noids) && in_array($value['id'],$noids)){
					unset($job_list[$key]);
					continue;
				}else{
					$job_list[$key] = $db->array_action($value,$cache_array);
					$job_list[$key][stime] = date("Y-m-d",$value[sdate]);
					$job_list[$key][etime] = date("Y-m-d",$value[edate]);
					if($arr_data['sex'][$value['sex']]){
						$job_list[$key][sex_n]=$arr_data['sex'][$value['sex']];
					}
					$job_list[$key][lastupdate] = date("Y-m-d",$value[lastupdate]);
					if($value[minsalary]&&$value[maxsalary]){
						$job_list[$key][job_salary] =$value[minsalary]."-".$value[maxsalary];
					}elseif($value[minsalary]){
						$job_list[$key][job_salary] =$value[minsalary]."以上";
					}else{
						$job_list[$key][job_salary] ="面议";
					}
					if($r_uid[$value['uid']][shortname]){
						$job_list[$key][com_name] =$r_uid[$value['uid']][shortname];
					}
					$job_list[$key][yyzz_status] =$r_uid[$value['uid']][yyzz_status];
					$job_list[$key][logo] =$r_uid[$value['uid']][logo];
					$job_list[$key][pr_n] =$r_uid[$value['uid']][pr_n];
					$job_list[$key][hy_n] =$r_uid[$value['uid']][hy_n];
					$job_list[$key][mun_n] =$r_uid[$value['uid']][mun_n];
					if($r_uid[$value['uid']][welfare]){
						$welfareList = @explode(',',$r_uid[$value['uid']][welfare]);

						if(!empty($welfareList)){
							$job_list[$key][welfarename] =$welfareList;
						}
					}
					
					

					$time=$value['lastupdate'];
					
					$beginToday=mktime(0,0,0,date('m'),date('d'),date('Y'));
					
					$beginYesterday=mktime(0,0,0,date('m'),date('d')-1,date('Y'));
					
					$week=strtotime(date("Y-m-d",strtotime("-1 week")));
					if($time>$week && $time<$beginYesterday){
						$job_list[$key]['time'] ="一周内";
					}elseif($time>$beginYesterday && $time<$beginToday){
						$job_list[$key]['time'] ="昨天";
					}elseif($time>$beginToday){	
						$job_list[$key]['time'] = date("H:i",$value['lastupdate']);
						$job_list[$key]['redtime'] =1;
					}else{
						$job_list[$key]['time'] = date("Y-m-d",$value['lastupdate']);
					}
					
					
					
					if($paramer[comlen]){
						if($r_uid[$value['uid']][shortname]){
							$job_list[$key][com_n] = mb_substr($r_uid[$value['uid']][shortname],0,$paramer[comlen],"utf-8");
						}else{
							$job_list[$key][com_n] = mb_substr($value['com_name'],0,$paramer[comlen],"utf-8");
						}
					}
					
					if($paramer[namelen]){
						if($value['rec_time']>time()){
							$job_list[$key][name_n] = "<font color='red'>".mb_substr($value['name'],0,$paramer[namelen],"utf-8")."</font>";
						}else{
							$job_list[$key][name_n] = mb_substr($value['name'],0,$paramer[namelen],"utf-8");
						}
					}else{
						if($value['rec_time']>time()){
							$job_list[$key]['name_n'] = "<font color='red'>".$value['name']."</font>";
						}
					}
					
					$job_list[$key][job_url] = Url("job",array("c"=>"comapply","id"=>$value[id]),"1");
					
					$job_list[$key][com_url] = Url("company",array("c"=>"show","id"=>$value[uid]));
					foreach($comrat as $k=>$v){
						if($value[rating]==$v[id]){
							$job_list[$key][color] = str_replace("#","",$v[com_color]);
							$job_list[$key][ratlogo] = $v[com_pic];
							$job_list[$key][ratname] = $v[name];
						}
					}
					if($paramer[keyword]){
						$job_list[$key][name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[name]);
						$job_list[$key][com_name]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$value[com_name]);
						$job_list[$key][name_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$job_list[$key][name_n]);
						$job_list[$key][com_n]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$job_list[$key][com_n]);
						$job_list[$key][job_city_one]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[provinceid]]);
						$job_list[$key][job_city_two]=str_replace($paramer[keyword],"<font color=#FF6600 >".$paramer[keyword]."</font>",$city_name[$value[cityid]]);
					}
				}
			}

			if(is_array($job_list)){
				if($paramer[keyword]!=""&&!empty($job_list)){
					addkeywords('3',$paramer[keyword]);
				}
			}
		} ?>
<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['wapstyle']->value)."/header_cont.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<div class="header_navlist"><a href="javascript:void(0);" id="jobclick"><i class="naviconfont"></i></a></div>
<section>
  <div class="company_info" >
  
    <div class="company_info_logo" >
  <img class="avatar" src="<?php echo $_smarty_tpl->tpl_vars['row']->value['logo'];?>
"  onerror="showImgDelay(this,'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_unit_icon'];?>
',2);">
    </div>    </div>
    
    <div class="company_cominfo">
    <div class="company_infonname">
    <?php echo $_smarty_tpl->tpl_vars['row']->value['name'];?>
    
    <?php if ($_smarty_tpl->tpl_vars['comrat']->value['com_pic']!="0"&&$_smarty_tpl->tpl_vars['comrat']->value['com_pic']!='') {?><img src="<?php echo $_smarty_tpl->tpl_vars['comrat']->value['com_pic'];?>
" width="20" height="20" /> <?php }?>    
    <?php if ($_smarty_tpl->tpl_vars['row']->value['yyzz_status']=='1') {?><i class="job_qy_rz_icon"></i><?php }?>
    </div>
     <div class="company_cominfo_p"><div><?php echo $_smarty_tpl->tpl_vars['industry_name']->value[$_smarty_tpl->tpl_vars['row']->value['hy']];?>
</div>
     <?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['row']->value['provinceid']];?>
/<?php echo $_smarty_tpl->tpl_vars['city_name']->value[$_smarty_tpl->tpl_vars['row']->value['cityid']];?>

        <?php if ($_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['row']->value['pr']]) {?><span class="company_cominfo_line">|</span><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['row']->value['pr']];
}?>
        <?php if ($_smarty_tpl->tpl_vars['row']->value['money']!=0) {?><span class="company_cominfo_line">|</span><?php echo $_smarty_tpl->tpl_vars['row']->value['money'];
if ($_smarty_tpl->tpl_vars['row']->value['moneytype']==1) {?>万元<?php } else { ?>万美元<?php }
}?><span class="company_cominfo_line">|</span><?php echo $_smarty_tpl->tpl_vars['comclass_name']->value[$_smarty_tpl->tpl_vars['row']->value['mun']];?>

        
   
      </div>

  </div>
</section>
<?php if ($_smarty_tpl->tpl_vars['row']->value['address']) {?>
<div class="com_map mt10">
	<?php if ($_smarty_tpl->tpl_vars['row']->value['x']&&$_smarty_tpl->tpl_vars['row']->value['y']) {?>
	 <a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'job','a'=>'jobmap','comid'=>$_smarty_tpl->tpl_vars['row']->value['uid']),$_smarty_tpl);?>
"><span class="com_map_name">地址</span><?php echo $_smarty_tpl->tpl_vars['row']->value['address'];?>
<em id="distance"></em><i class="com_map_name_icon"></i><i class="com_map_name_jt"></i></a>
	 <input type="hidden" id="map_x" value="0"/>
	<input type="hidden" id="map_y" value="0"/>
	 <?php } else { ?>
	 <span class="com_map_name">地址</span><?php echo $_smarty_tpl->tpl_vars['row']->value['address'];?>

	 <?php }?>
</div> 
 <?php }?>
 
<?php if ($_smarty_tpl->tpl_vars['row']->value['welfare_n']) {?>
<div class="com_welfare ">
  <div class="com_show_fl">
   <?php  $_smarty_tpl->tpl_vars['waflist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['waflist']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['row']->value['welfare_n']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['waflist']->key => $_smarty_tpl->tpl_vars['waflist']->value) {
$_smarty_tpl->tpl_vars['waflist']->_loop = true;
?>
  <span class="com_show_fl_s"><?php echo $_smarty_tpl->tpl_vars['waflist']->value;?>
</span><?php } ?>
   </div> 
   </div> 
 <?php }?>
<section >
  <div class=" mt10 none"  id="businessInfo">
    <div class="user_contnet_box ">
      <div class="wap_title_j"><span class="">工商信息</span>
     </div>
<!----天眼查------->

<div class="business">
	<div class="businessInfo">
		<ul class="basicMsgList clearfix" style="line-height:30px;">
		<li><div class="clearfix"><span>统一社会信用代码：</span><em id="creditCode"></em></div></li>
		<li><div class="clearfix"><span>成立日期：</span><em id="estiblishTime"></em></div></li>
		<li><div class="clearfix"><span>组织机构代码：</span><em id="orgNumber"></em></div></li>
		<li><div class="clearfix"><span>经营期限：</span><em id="Time"></em></div></li>
		<li><div class="clearfix"><span>企业类型：</span><em id="companyOrgType"></em></div></li>
		<li><div class="clearfix"><span>登记机关：</span><em id="regInstitute"></em></div></li>
		<li><div class="clearfix"><span>经营状态：</span><em id="regStatus"></em></div></li>
        <li><div class="clearfix"><span>注册资本：</span><em id="regCapital"></em></div></li>
		<li><div class="clearfix"><span>注册地址：</span><em id="regLocation"></div></li>
		<li><div class="clearfix"><span>经营范围：</span><em id="businessScope"></div></li></ul>
		<div class="qxb clearfix">
		<div class="qxb_tg" style="background:#f8f8f8; padding:5px 10px ; text-align:center"><span>以上内容由</span> <span class="hxb"><a href="" class="tianyancha" id="tianyancha" target='_blank'><img src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/images/tycc.png" height="30" style="vertical-align:middle"></a> </span> <span>提供</span></div>
		</div>
	</div>
</div>


<!---------END------>
        </div>
  </div>
</section>  

<section id='content'>
  <div class=" mt10">
    <div class="user_contnet_box ">
      <div class="wap_title_j"><span class="">公司简介</span>
     
      </div>
      <div class="user_contnet_box_p ">  
       
      <?php if ($_smarty_tpl->tpl_vars['row']->value['content']) {?>
      <div style="width:100%;height:auto; overflow:hidden" id="com_content">
      <?php echo $_smarty_tpl->tpl_vars['row']->value['content'];?>

      </div>
      <div class="com_show_cont none"><a href="javascript:;" onclick="showcc()">展开信息</a></div>
      <?php } else { ?> 
      <div class="evaluate_pj_no"><i class="evaluate_pj_no_icon"></i>该企业还没有填写公司简介! </div>      
      <?php }?> 
      
       </div>
       
      </div>
  </div>
</section>

<section id='tel'>
  <div class=" mt10">
    <div class="user_contnet_box ">
      <div class="wap_title"><span class="">联系方式</span></div>
      
      
       <?php if ($_smarty_tpl->tpl_vars['looktype']->value=="1") {?>
       <ul class="com_post_msg com_post_msg_touch com_post_msg_bot">
        <?php if ($_smarty_tpl->tpl_vars['row']->value['linkman']) {?><li><i class="com_post_msg_touch_icon iconfont_jobshow_teluser"></i>联&nbsp;系&nbsp;人：</span><?php echo $_smarty_tpl->tpl_vars['row']->value['linkman'];?>
</li><?php }?>
        <?php if ($_smarty_tpl->tpl_vars['row']->value['linktel']) {?><li class="com_post_msg_tel"><i class="com_post_msg_touch_icon iconfont_jobshow_telip"></i>联系手机：<a href="tel:<?php echo $_smarty_tpl->tpl_vars['row']->value['linktel'];?>
"><?php echo $_smarty_tpl->tpl_vars['row']->value['linktel'];?>
<span class="com_post_tel_bd"><i class="com_post_zx iconfont"></i>  <div class="com_post_tel_bd_p">拨打咨询</div></span></a></li><?php }?>
        <?php if ($_smarty_tpl->tpl_vars['row']->value['linkphone']) {?><li class="com_post_msg_tel"><i class="com_post_msg_touch_icon iconfont_jobshow_tel"></i>联系电话：<a href="tel:<?php echo $_smarty_tpl->tpl_vars['row']->value['linkphone'];?>
"><?php echo $_smarty_tpl->tpl_vars['row']->value['linkphone'];?>
<span class="com_post_tel_bd"><i class="com_post_zx iconfont"></i>  <div class="com_post_tel_bd_p">拨打咨询</div></span></a></li><?php }?>
        <?php if ($_smarty_tpl->tpl_vars['row']->value['busstops']) {?><li><i class="com_post_msg_touch_icon iconfont_jobshow_bus"></i>公交站点：</span><?php echo $_smarty_tpl->tpl_vars['row']->value['busstops'];?>
</li><?php }?>
      </ul>
       <?php } else { ?>
        <?php if ($_smarty_tpl->tpl_vars['looktype']->value=="3"||$_smarty_tpl->tpl_vars['looktype']->value=="2"||$_smarty_tpl->tpl_vars['looktype']->value=="5") {?>
        <div class="com_post_login"> <i class="com_post_tel iconfont"></i><?php echo $_smarty_tpl->tpl_vars['look_msg']->value;?>
 </div>
        <?php } elseif ($_smarty_tpl->tpl_vars['looktype']->value=="4") {?>
       <?php if ($_smarty_tpl->tpl_vars['row']->value['linkman']) {?> <div class="com_tel_p">联&nbsp;系&nbsp; 人：<?php echo $_smarty_tpl->tpl_vars['row']->value['linkman'];?>
</div><?php }?>
     <?php if ($_smarty_tpl->tpl_vars['row']->value['linktel']) {?>  <div class="com_tel_p">联系手机：<?php echo $_smarty_tpl->tpl_vars['row']->value['linktel'];?>
</div><?php }?>
     <?php if ($_smarty_tpl->tpl_vars['row']->value['linkphone']) {?>  <div class="com_tel_p">联系电话：<?php echo $_smarty_tpl->tpl_vars['row']->value['linkphone'];?>
</div><?php }?>
      <div  class="com_tel_p">公司地址：<?php echo $_smarty_tpl->tpl_vars['row']->value['address'];?>
</div>
      <div class="com_post_login com_post_login_pd"> <i class="com_post_tel iconfont"></i><span class="com_touch_tip">登录后查看联系方式</span> <a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'login','job'=>$_smarty_tpl->tpl_vars['job']->value['id']),$_smarty_tpl);?>
" class="com_s_logoin">登录</a> <a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'register'),$_smarty_tpl);?>
" class="com_s_reg">注册</a></div>
  
      	<?php } elseif ($_smarty_tpl->tpl_vars['looktype']->value=="6") {?>
		<div class="com_post_login"> <i class="com_post_tel iconfont"></i><?php echo $_smarty_tpl->tpl_vars['look_msg']->value;?>
 </div>
		<div class="company_tit_p_touch_l_c"><a href="<?php echo smarty_function_url(array('m'=>'wap'),$_smarty_tpl);?>
member/index.php?c=addresume" class="company_tit_p_touch_log">创建简历</a></div>
		 <?php }?>
      <?php }?> 
	  
		
	  </div>
     </div>
</section>
 
  
<section  id="job">
  <div class=" mt10">
    <div class="index_warp_content">
      <div class="wap_title"><span class="">正在招聘的职位</span></div>
      <?php $_smarty_tpl->tpl_vars['uid'] = new Smarty_variable($_smarty_tpl->tpl_vars['row']->value['uid'], null, 0);?>
      <?php  $_smarty_tpl->tpl_vars['job_list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['job_list']->_loop = false;
$job_list = $job_list; if (!is_array($job_list) && !is_object($job_list)) { settype($job_list, 'array');}
foreach ($job_list as $_smarty_tpl->tpl_vars['job_list']->key => $_smarty_tpl->tpl_vars['job_list']->value) {
$_smarty_tpl->tpl_vars['job_list']->_loop = true;
?>
      <div class="com_show_joblist" > <a href="<?php echo smarty_function_url(array('m'=>'wap','c'=>'job','a'=>'view','id'=>$_smarty_tpl->tpl_vars['job_list']->value['id']),$_smarty_tpl);?>
" class="job_list">
        <h3><?php echo $_smarty_tpl->tpl_vars['job_list']->value['name_n'];
if ($_smarty_tpl->tpl_vars['job']->value['urgent_time']>time()) {?><i class="urgent">急招</i><?php }?></h3>
        <aside class="job_qy_name">
        <strong style="color:#ff6a6a; font-weight:normal">￥<?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_salary'];?>
</strong>
        </aside>
        <div class="com_show_jiobc">
        <span class="com_show_city"><i class="com_show_city_icon"></i><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_city_one'];?>
-<?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_city_two'];?>
</span>
         <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_exp']) {?><span class="com_show_jy"><i class="com_show_jy_icon"></i><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_exp'];?>
经验 </span><?php }?>
         <?php if ($_smarty_tpl->tpl_vars['job_list']->value['job_edu']) {?><span class="com_show_jy"><i class="com_show_xl_icon"></i><?php echo $_smarty_tpl->tpl_vars['job_list']->value['job_edu'];?>
学历 </span><?php }?>
         </div>
        <aside class="job_pay"><span class="job_t_date job_t_date_t"><?php if ($_smarty_tpl->tpl_vars['job_list']->value['time']=='今天'||$_smarty_tpl->tpl_vars['job_list']->value['time']=='昨天') {?> <span style="color:red;"><?php echo $_smarty_tpl->tpl_vars['job_list']->value['time'];?>
</span> <?php } else { ?>
          <?php echo $_smarty_tpl->tpl_vars['job_list']->value['time'];?>

          <?php }?></span></aside>
        </a> </div>
        <?php }
if (!$_smarty_tpl->tpl_vars['job_list']->_loop) {
?>
		<div class="evaluate_pj_no"><i class="evaluate_pj_no_icon"></i>该企业还没有发布职位信息! </div>
      <?php } ?> 
      </div>
  </div>
</section>

        
<!--浮动框-->
<section>
  <div class="yun_job_footer">
    <div class="yun_job_footer_fixed">
      <div class="com_footer_bg">
        <div class="com_footer">
        <div class="com_footer_pd">
	  <a href="javascript:void(0);"  data-url='<?php echo smarty_function_url(array('m'=>'wap','c'=>'company','a'=>'share','id'=>$_smarty_tpl->tpl_vars['row']->value['uid']),$_smarty_tpl);?>
'  class="" id="shareClick">分享企业</a>
   </div> </div>
       
        <div class="com_footer"> 
        	  <div class="com_footer_pd">
             <?php if ($_smarty_tpl->tpl_vars['uid']->value) {?>
        <?php if ($_smarty_tpl->tpl_vars['usertype']->value=='1') {?>
          <?php if ($_smarty_tpl->tpl_vars['isatn']->value['id']) {?> 
               	<span class="  atn_<?php echo $_smarty_tpl->tpl_vars['row']->value['uid'];?>
"><a href="javascript:void(0)" onclick="atn('<?php echo $_smarty_tpl->tpl_vars['row']->value['uid'];?>
','<?php echo smarty_function_url(array('m'=>'wap','c'=>'ajax','a'=>'atn_company'),$_smarty_tpl);?>
')" id='atn_<?php echo $_smarty_tpl->tpl_vars['row']->value['uid'];?>
' class=" com_footer_gz_qx">取消关注</a> </span>		
				<?php } else { ?>
				<span class=" atn_<?php echo $_smarty_tpl->tpl_vars['row']->value['uid'];?>
"><a href="javascript:void(0)" onclick="atn('<?php echo $_smarty_tpl->tpl_vars['row']->value['uid'];?>
','<?php echo smarty_function_url(array('m'=>'wap','c'=>'ajax','a'=>'atn_company'),$_smarty_tpl);?>
')" id='atn_<?php echo $_smarty_tpl->tpl_vars['row']->value['uid'];?>
' class="com_footer_gz">关注企业</a> </span>		
				<?php }?>
		<?php } else { ?> 
		 <a href="javascript:void(0)" class="com_footer_gz" onclick="layermsg('只有个人用户才能关注');">关注企业</a></div>		
        <?php }?> 
       <?php } else { ?> 
<a href="javascript:void(0)" class="com_footer_gz" onclick="layermsg('请先登录');">关注企业</a>
        <?php }?> 
        
			</div>
		</div>
      </div>
    </div>
  </div>
</section>
<!--功能条 --> 
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/layer/layer.m.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/prefixfree.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['wap_style']->value;?>
/js/chat.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
	var config = {
		url:'<?php echo smarty_function_url(array('m'=>'wap','c'=>'company','a'=>'share','id'=>$_smarty_tpl->tpl_vars['row']->value['uid']),$_smarty_tpl);?>
',
		title:'<?php echo $_smarty_tpl->tpl_vars['row']->value['name'];?>
-<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
',
		desc:'',
		img:'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_wx_sharelogo'];?>
',
		img_title:'<?php echo $_smarty_tpl->tpl_vars['row']->value['name'];?>
',
		from:'<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];?>
'
	};
	$(function(){
		$.post('<?php echo smarty_function_url(array('m'=>'wap','c'=>'ajax','a'=>'getbusiness'),$_smarty_tpl);?>
',{name:'<?php echo $_smarty_tpl->tpl_vars['row']->value['name'];?>
'},function(data){
	
		if(data){
			var business = eval('('+data+')');
			$('#creditCode').html(business.creditCode);
			$('#estiblishTime').html(business.estiblishTime);
			$('#orgNumber').html(business.orgNumber);
			$('#Time').html(business.fromTime+'至'+business.toTime);
			$('#companyOrgType').html(business.companyOrgType);
			$('#regInstitute').html(business.regInstitute);
			$('#regStatus').html(business.regStatus);
			$('#regLocation').html(business.regLocation);
			$('#regCapital').html(business.regCapital);
			$('#businessScope').html(business.businessScope);
			$('#tianyancha').attr('href','https://www.tianyancha.com/company/'+business.companyId);
			$('#businessInfo').show();
			//$('#companybusiness').show();
		}
		});
	})
<?php echo '</script'; ?>
>
<?php if ($_smarty_tpl->tpl_vars['row']->value['x']&&$_smarty_tpl->tpl_vars['row']->value['y']) {?>
<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['config']->value['mapurl'];?>
"><?php echo '</script'; ?>
> 
<?php echo '<script'; ?>
>
//百度地图测距
function getdistance(){
	var map = new BMap.Map();
	var geolocation = new BMap.Geolocation();
	geolocation.getCurrentPosition(function(r){
		if(this.getStatus() == BMAP_STATUS_SUCCESS){
			$("#map_x").val(r.point.lng);
			$("#map_y").val(r.point.lat); 
		}
		else {
			alert('failed'+this.getStatus());
		}        
	},{enableHighAccuracy: true});
	var x='<?php echo $_smarty_tpl->tpl_vars['row']->value['x'];?>
',y='<?php echo $_smarty_tpl->tpl_vars['row']->value['y'];?>
',map_x=$("#map_x").val(),map_y=$("#map_y").val();
	if(map_x>0 && map_y>0){
		var pointA = new BMap.Point(x,y); 
		var pointB = new BMap.Point(map_x,map_y); 
		var distance = '('+(map.getDistance(pointA,pointB)/1000).toFixed(1)+'km)';
		$("#distance").html(distance);
	}else{
		setTimeout(function(){
			getdistance();
		},2000);
	}
}
$(function(){
	getdistance();
})
$(function () {
	var cheight=$("#com_content").height();
	if(parseInt(cheight)>270){
	    $("#com_content").attr('style','width:100%;height:270px; overflow:hidden');
		$(".com_show_cont").show();
	}
}); 
function showcc(){
    $("#com_content").attr('style','width:100%;height:auto; overflow:hidden');
	$(".com_show_cont").find('a').html('收起');
	$(".com_show_cont").find('a').attr('onclick','hidecc()');
}
function hidecc(){
    $("#com_content").attr('style','width:100%;height:270px; overflow:hidden');
	$(".com_show_cont").find('a').html('展开信息');
	$(".com_show_cont").find('a').attr('onclick','showcc()');
}
<?php echo '</script'; ?>
>
<?php }?>
<?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['wapstyle']->value)."/footer.htm", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 <?php }} ?>
